<?php
use yii\helpers\Url;

$web = Url::base();
$integral_unit = \app\models\Mall::getCurrentInstitutionIntegralUnit();
$site_name = \app\models\Mall::getCurrentInstitutionSiteName();
$institution_code = \app\models\Mall::getCurrentInstitutionCode();
$this->title = $site_name.'->我的卡卷';
?>
<link rel="stylesheet" type="text/css" href="<?= $web ?>/css/mall/user-card.css"/>

<div class="my-information">
    <div class="menu fl">
        <ul>
            <li><a href="user-information?institution_code=<?= $institution_code ?>">个人信息</a></li>
            <li><a href="javascript:void(0)" class="cur">我的卡卷</a></li>
            <li><a href="user-present?institution_code=<?= $institution_code ?>"><?= $integral_unit ?>转赠</a></li>
            <li><a href="order-list?institution_code=<?= $institution_code ?>">我的订单</a></li>
            <li><a href="user-account-record?institution_code=<?= $institution_code ?>">我的<?= $integral_unit ?></a></li>
            <li><a href="user-address?institution_code=<?= $institution_code ?>">收货地址</a></li>
        </ul>
    </div>
    <div class="data fl">
        <div class="title">
            <p>我的卡卷</p>
        </div>
        <div class="wechat-card">

            <img src="<?=Url::to(['mall-m/qr-code-out','text'=>'http://m.fanso2o.com/home/index2?v=3','margin'=>1,'isCache'=>true])?>" />
            <p>使用微信扫一扫，查看我的卡券</p>
        </div>
    </div>
</div>